# -*- coding: utf-8 -*-
"""
 @Time    : 2021/1/28 下午5:34
 @Author  : tgy
 
"""
import io


def test01():
    ...
    s = io.StringIO()
    conts = ['123',1,object]
    print(*conts,sep=':',file=s)
    # print(s.read())
    format_str = s.getvalue()
    print(format_str)

if __name__ == '__main__':
    ...
    test01()